package cn.cdtu.tibetplan.pojo;

import java.util.List;

public class Menus {
    private int id;

    private String title;//菜单名称

    private String href;//菜单链接

    private List<Menus> children;

    private boolean spread;//是否展开

    private boolean checked;//是否选中

    private boolean disabled;//是否禁用

    public Menus(){

    }

    public Menus(int id, String title, String href, List children, boolean spread, boolean checked, boolean disabled) {
        this.id = id;
        this.title = title;
        this.href = href;
        this.children = children;
        this.spread = spread;
        this.checked = checked;
        this.disabled = disabled;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public List<Menus> getChildren() {
        return children;
    }

    public void setChildren(List<Menus> children) {
        this.children = children;
    }

    public boolean isSpread() {
        return spread;
    }

    public void setSpread(boolean spread) {
        this.spread = spread;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public boolean isDisabled() {
        return disabled;
    }

    public void setDisabled(boolean disabled) {
        this.disabled = disabled;
    }
}
